package com.qigao.mall.api;

import com.qigao.mall.commons.dto.SysCompanyUserResultDto;
import com.qigao.mall.commons.dto.SysCompanyUserSaveDto;
import com.qigao.mall.commons.enums.Result;

import java.util.List;

public interface SysCompanyUserService {

    Result<String> delete(String id);

    Result<String> save(SysCompanyUserSaveDto sysCompanyUserSaveDto);

    Result<List<SysCompanyUserResultDto>> listByUserAndRoleCode(String userNo, String roleCode);
}
